package com.sxj.PDMS;

import org.junit.jupiter.api.Test;
import org.springframework.util.DigestUtils;

import static com.sxj.PDMS.service.impl.StudentServiceImpl.SALT;

public class test {
    @Test
    public void test() {
        String encryptPassword = DigestUtils.md5DigestAsHex((SALT + "123456").getBytes());

        System.out.println(encryptPassword);
    }
}
